package com.zmzncs.lmtc.common.exception;

/**
 * Created by oracle on 17/1/18.
 */
public class BaseExceptionDefine {
    public static final int SYSTEM_BUSY_CODE = -999;
    public static final String SYSTEM_BUSY_DESC = "系统繁忙,请稍后再试";

    public static final int INNER_ERROR_CODE = -998;
    public static final String INNER_ERROR_DESC = "内部错误";

    public static final int BUSINESS_ERROR_CODE = -997;
    public static final String BUSINESS_ERROR_DESC = "系统繁忙,请稍后再试";

    public static final int USER_OR_PASSWD_ERROR_CODE = -102;
    public static final String USER_OR_PASSWD_ERROR_DESC = "用户名不存在或者密码错误";

    public static final int USER_NOTFOUND_ERROR_CODE = -103;
    public static final String USER_NOTFOUND_ERROR_DESC = "用户不存在";

    public static final int TOKEN_FAILURE_ERROR_CODE = -104;
    public static final String TOKEN_FAILURE_ERROR_DESC = "TOKEN不存在或者过期,请重新登录";

    public static final int WALLET_ERROR_CODE = -105;
    public static final String WALLET_ERROR_DESC = "钱包错误";

    public static final int REIGST_NEED_PAY_ERROR_CODE = -106;
    public static final String REIGST_NEED_PAY_ERROR_DESC = "用户未缴纳费用,无法登录";

    public static final int PAY_ERROR_CODE = -107;
    public static final String PAY_ERROR_DESC = "支付错误";

    public static final int REFUND_ERROR_CODE = -108;
    public static final String REFUND_ERROR_DESC = "退款错误";

    public static final int USER_EXISTS_ERROR_CODE = -109;
    public static final String USER_EXISTS_ERROR_DESC = "用户已存在";

    public static final int ORDER_ERROR_CODE = -110;
    public static final String ORDER_ERROR_DESC = "订单错误";









    /**业务订单无法获取用户名 */
    public static final String ORD00001 = "ORD00001";
    /**订单状态不正确 */
    public static final String ORD00002 = "ORD00002";
    /**没有找到对应订单号 */
    public static final String ORD00003 = "ORD00003";
    /**订单金额不正确 */
    public static final String ORD00004 = "ORD00004";
    /**订单不属于当前用户 */
    public static final String ORD00005 = "ORD00005";
    /**找不到对应的购买商品业务订单 */
    public static final String ORD00006 = "ORD00006";
    /**购买商品业务订单状态不是未支付 */
    public static final String ORD00007 = "ORD00007";
    /**订单尚未支付 */
    public static final String ORD00008 = "ORD00008";
    /**订单已经取消 */
    public static final String ORD00009 = "ORD00009";
    /**找不到预订单 */
    public static final String ORD00010 = "ORD00010";
    /**订单状态不是待支付,不能取消 */
    public static final String ORD00011 = "ORD00011";
    /**订单没有状态 */
    public static final String ORD00012 = "ORD00012";
    /**订单状态为等待收货 */
    public static final String ORD00013 = "ORD00013";
    /**订单状态为完成 */
    public static final String ORD00014 = "ORD00014";
    /**订单状态为取消 */
    public static final String ORD00015 = "ORD00015";
    /**订单已经超时 */
    public static final String ORD00016 = "ORD00016";
    /**订单价格和支付价格不一致 */
    public static final String ORD00017 = "ORD00017";
    /**预订单中有商品不存在 */
    public static final String ORD00018 = "ORD00018";
    /**预订单中有商品无法计算价格 */
    public static final String ORD00019 = "ORD00019";
    /**订单状态不是已完成或者已取消,不能删除 */
    public static final String ORD00020 = "ORD00020";
    /**没有选择的订单商品 */
    public static final String ORD00021 = "ORD00021";
    /**没有找到预订单 */
    public static final String ORD00022 = "ORD00022";
    /**用户没有该预订单 */
    public static final String ORD00023 = "ORD00023";
    /**找不到预订单信息 */
    public static final String ORD00024 = "ORD00024";
    /**价格不能为空 */
    public static final String ORD00025 = "ORD00025";
    /**订单不存在 */
    public static final String ORD00026 = "ORD00026";
    /**订单状态不是已取消或者已完成,不支持再次购买 */
    public static final String ORD00027 = "ORD00027";
    /**购物车商品不存在 */
    public static final String ORD00028 = "ORD00028";
    /**购物车商品不属于该用户 */
    public static final String ORD00029 = "ORD00029";
    /**合并购物车失败 */
    public static final String ORD00030 = "ORD00030";
    /**单品库存不足 */
    public static final String ORD00031 = "ORD00031";


    /**钱包错误 */
    public static final String EWT00001 = "EWT00001";


    /** 钱包设置支付密码长度错误,对应钱包错误码 -2 **/
    public static final int EWT00002_CODE = -2;
    public static final String EWT00002_DESC = "密码长度错误";

    /** 钱包支付密码错误,对应钱包错误码 -4 **/
    public static final int EWT00004_CODE = -4;
    public static final String EWT00004_DESC = "密码错误";

    /** 钱包尚未设置支付密码,对应钱包错误码 -6 **/
    public static final int EWT00006_CODE = -6;
    public static final String EWT00006_DESC = "尚未设置支付密码";



}
